home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / graphics / gnuplot / gnuplot-3.7.1src / gnuplot-3.7.1 / docs / old / changelog.old next >
Text File  |  1999-11-29  |  62KB  |  1,584 lines

  1. /*
  2.  * The rc gcc on n 1.130 moved for `real' releases
  3.  *
  4.  * A note about version numberering: Since RCS is notable faster when using
  5.  * trunk revisions (x.y), I have decided simply to start with revs 1.x
  6.  *
  7.  * There is a small bug in CVS that prevents the commit -r option from
  8.  * working. This means that the revision numbers in the individual files
  9.  * do not agree with the one in the log. I hope to fix this some time soon.
  10.  *
  11.  * $Log: ChangeLog.old,v $
  12.  * Revision 1.1  1998/11/16 13:07:33  lhecking
  13.  * Moved from version.c.
  14.  *
  15.  *
  16.  * I have moved these entries from version.c. All future code changes
  17.  * should be logged in ChangeLog. Lars Hecking
  18.  *
  19.  * Revision 1.347  1998/06/22 12:24:56  ddenholm
  20.  * dd : retrieve fit.*, matrix.*, docs/latextut/makefile from earlier vsns
  21.  *      add  set noxdtics etc. (behave same as  set xtics)
  22.  *
  23.  * Revision 1.346  1998/06/18 14:55:21  ddenholm
  24.  * Lars : compilation of many patches posted to the net.
  25.  *
  26.  * Revision 1.345  1998/05/19 18:05:03  ddenholm
  27.  * drd: add missing stdfn.c file
  28.  *
  29.  * Revision 1.344  1998/04/14 00:38:57  drd
  30.  * drd: oops - forgot to bump version number with last checkin.
  31.  *
  32.  * Revision 1.343  1998/03/22  23:31:31  drd
  33.  * hbb: compile on win16 ; latest and greatest hidden3d stuff
  34.  *
  35.  * Revision 1.342  1998/03/22  22:32:24  drd
  36.  * drd: update copyright statements on most files. There are still a
  37.  *      few files (obscure terminal drivers) copyright others. Maybe
  38.  *      we have to drop these, or at least list the files which
  39.  *      cannot be redistributed with a modified gnuplot.
  40.  *      (Or maybe it is okay to include these files unchanged in an
  41.  *       otherwise modified gnuplot ?)
  42.  *
  43.  * Revision 1.341  1997/12/16  23:01:05  drd
  44.  * Lars Hecking: 0PORTING, 0README, 0INSTALL
  45.  * HBB: latest hidden3d stuff
  46.  *      off-by-one error in long-line datafiles
  47.  * gas@SLAC.stanford.edu : fix for \" inside "strings"
  48.  * Hans-Martin Keller : fix for fault in contour stuff
  49.  * Niels Provos : VMS stuff
  50.  *
  51.  * Revision 1.340  1997/11/25  23:03:09  drd
  52.  * Alexander Mai: fix show output for non-auto x range
  53.  * Konrad Bernloehr: fixes for logscale tics
  54.  *                   pointsize for fig
  55.  * Thomas Witelski: set border  in save output
  56.  * HBB: key entry for impulse plot
  57.  * Dick Crawford: recent (latest ?) docs
  58.  * drd: set cntrparam ; ...
  59.  *      fix y2label placement (I hope)
  60.  *
  61.  * Revision 1.339  1997/10/10  06:51:56  drd
  62.  * drd: very minor tweaks : fix the longjmp on os/2 ; fix the problem
  63.  *      with time on last column in data file ; make lmargin and tmargin
  64.  *      of 0 actually work
  65.  *
  66.  * Revision 1.338  1997/07/23  23:16:36  drd
  67.  * drd: fix autodetection of libgd - inverted logic meant that !=no meant
  68.  *        yes. Now !=yes means no, since it returns blank for no
  69.  *      swap  axes  and  smooth  keywords on plot line, since smooth
  70.  *        is really a data modifier
  71.  *      fix the   set key width  stuff so that the text is within a
  72.  *        key box for any combination of key reverse Left|Right
  73.  *
  74.  * Revision 1.337  1997/07/22  23:20:54  drd
  75.  * erik@tntnhb3.tn.tudelft.nl : conform to postscript DSC
  76.  * HBB, Lars Hecking : -Xc for solaris compile and other config changes
  77.  * ueda@syslab.lias.flab.fujitsu.co.jp : gplt_x11.c includes config.h
  78.  *       fix script line number after inline data
  79.  * Roger Fearick : os/2 patches
  80.  * jgrant@traveller.com: gplt_x11.c fix to drain _all_ X events after a select()
  81.  *       fix endianness problem in cgm driver
  82.  * Carsten Steger : fixes for clean build on amiga
  83.  * David Schooley : ai term updates
  84.  * M.N.Schipper@IRI.TUDelft.NL : workaround for broken sscanf(%n) on os9
  85.  * William Kirby : double->coordtype in interpol.c
  86.  * cb203@cus.cam.ac.uk: documentation : -noraise instead of +raise
  87.  * drd: localise use of <setjmp.h> to plot.c and parse.c, for png on linux
  88.  *
  89.  * Revision 1.336  1997/06/04  05:48:01  drd
  90.  * drd: put back setvbuf(...,1024)
  91.  *      (trivial) make show at $3 work properly
  92.  *      table output uses %g not %f for contours
  93.  *
  94.  * Revision 1.335  1997/05/27  01:29:03  drd
  95.  * HBB: change number of colours in pbm.trm
  96.  *      new hidden3d.c and fit demo/docs
  97.  * Alexander Mai: os/2 patches (sorry I keep missing os/2 patches)
  98.  * Lars Hecking: autoconf changes for png, and more configure improvements
  99.  * drd: space in timefmt means 0 or more spaces. Add read of %b / %B
  100.  *      tweak the windows /noend stuff
  101.  *
  102.  * Revision 1.334  1997/05/19  08:10:25  drd
  103.  * Dick Crawford : set key width  [but I still think it should be absolute,not relative]
  104.  * drd: review the splot key stuff :
  105.  *        set key box ; set contour ; splot x,y  overran the key box
  106.  *        splot x title ''  was not same as  splot x notitle
  107.  *
  108.  * Revision 1.333  1997/05/18  21:22:14  drd
  109.  * Dick Crawford : rmargin/y2label bug
  110.  *                 Latest docs
  111.  * Joost Witteveen: configure bug
  112.  * Lars Hecking: setvbuf workaround for win32
  113.  * HBB : don't fit when ndata < nparams
  114.  * HBB, Berthold Hoellmann : docs/makefile deps
  115.  * Novak Levente: tgif upgrade
  116.  * drd: fix pslatex aux again
  117.  *      fix  show xdata
  118.  *      support  %02H in time formats : allows suppression of leading 0's
  119.  *
  120.  * Revision 1.332  1997/04/12  05:44:01  drd
  121.  * HBB: FIT_MAXITER patch   ; drd added it to fit.dem and gnuplot.doc
  122.  * drd: change hidden3d.c to not draw diagonals by default
  123.  *      trap seg.fault in  set term pslatex aux ; set out ; plot x
  124.  *      Mention gif and png in 0INSTAL. Output a brief message when
  125.  *       configure fails to detect the libraries.
  126.  *      Add mention of AIX 4 NaNq bug to gnuplot.doc
  127.  *
  128.  * Revision 1.331  1997/04/10  02:33:29  drd
  129.  * Dick Crawford: fix broken   set label ... font ...
  130.  * Lars Hecking: many cleanups
  131.  * Alexander Mai: os/2 changes
  132.  * drd: trap EOF in fit intr. handler
  133.  *      warn if udf shares name with internal func
  134.  *      doc and copyrights
  135.  *
  136.  * Revision 1.330  1997/04/08  06:14:18  drd
  137.  * Lars Hecking, drd: update command takes optional second parameter
  138.  * Roger Fearick: os2 patches ("os2237")
  139.  *
  140.  * Revision 1.329  1997/04/05  19:44:29  drd
  141.  * Ian MacPhedran, Konrad Bernloehr: fig driver patch
  142.  * Berthold Hoellmann: support --with-gd etc in configure
  143.  *                     patches for hidden demos
  144.  * John Grant : fix unitialised variable in gplt_x11
  145.  * HBB : latest hidden3d (25/3/97)
  146.  * Nelson Beebe : fix some typos
  147.  * Gary Holt: guard configure --with-gnu-readline=/bogus/path
  148.  * drd: make non-rotated labels the default
  149.  *      fix up multilined title and x2label
  150.  *      print extended-printf %c as e+/-nn for outrange powers
  151.  *      (forgot to record in 322) : trap top-bit-set chars in bitmap.c
  152.  *      configure --with-gnu-readline  should not assume -ltermcap (Debian Linux)
  153.  *
  154.  * Revision 1.328  1997/03/09  23:50:19  drd
  155.  * drd: detect top-bit-set characters in bitmap.c
  156.  *      detect gd lib in autoconf
  157.  *      put writeback back into plot2d.c : deleted for some reason..?
  158.  * AL:  NeXT fixes, plus some tidying.
  159.  * Roger Fearick, HBB : column check in fit.c
  160.  * HBB: latest hidden3d.c (wasn't latest last time)
  161.  * Stefan Bodewig: doc2xxxx for multiple top-level entries
  162.  * Alexander Jolk: error in %c in extended printfs
  163.  *
  164.  * Revision 1.327  1997/03/06  06:04:14  drd
  165.  * drd: add support for dates in user-tics ie set xtics ('format' 'place',...)
  166.  *
  167.  * Revision 1.326  1997/03/04  07:58:15  drd
  168.  * Alexander Mai : gif to os2 stdout
  169.  * Carson Wilson,drd: fix off-by-one in days for xdtics and %a
  170.  * CMWestern,William Kirby: win32 build with bc
  171.  * Dick Crawford : rotate patch
  172.  * HBB: latest hidden3d code (with drd's OUTRANGE tweak)
  173.  * James Obrien,drd : don't write to readonly string returned by xlib
  174.  * drd: change message when range is less than zero
  175.  *      show as comment the current range hidden by auto
  176.  *      fix output to PRN in windows
  177.  *      latex multiplot uses original size for bounding box
  178.  *      temporary fix for VMS help : allow only one toplevel help entry
  179.  *
  180.  * Revision 1.325  1997/01/05  22:02:42  drd
  181.  * Johannes.Hoffstadt,drd: free() bug in fit.c
  182.  * William Kirby: undefined tmpn in fit.c
  183.  * Carsten Steger: clean compile on HP-UX & Irix 6.2
  184.  * Robert Lutwak: avoid ObjC keywords in cgm.trm
  185.  * Jim Van Zandt: linwidth for cgm
  186.  * Alexander Mai: readline fix for os/2
  187.  *                makefile.os2 update
  188.  * bjr@ln.nimh.nih.gov : take out redundant cast which upsets SGI
  189.  * Lucas Hart : titles and crosshair in multiple X11 windows
  190.  *              nameless mailbox for VMS x11
  191.  *              mgr.dem update
  192.  * C.M.Western@bristol.ac.uk : win95 fixes
  193.  * drd: (trivial) accept vectors (plural) as line style
  194.  *
  195.  * Revision 1.324  1996/12/19  20:25:30  drd
  196.  * Matthew Jackson (and others): segv on linux with  set locale
  197.  * William Kirby: win32 has long filename, but win32s does not : fix update
  198.  * Jim Van Zandt : allow more contour levels
  199.  * G.Allen Morris III: texdraw fix
  200.  * Alexander Mai: makefile.os2
  201.  * David Schooley: mac patches
  202.  *
  203.  * Revision 1.323  1996/12/19  19:12:50  drd
  204.  * Roger Fearick/Alexander Mai : doc2ipf changes
  205.  * HBB: pointsize bug in hidden splot (?)
  206.  * Carsten Steger: tweaks for compile on amiga
  207.  * drd: eliminate some gcc -W... warnings (mostly prototypes)
  208.  *      tidy use of lp in plot3d.c and set.c
  209.  *      add some comments to term.c, and make term_suspend static
  210.  *      set missing  was completely broken (df_column->good is not boolean)
  211.  *      show contour says   approximately n levels
  212.  *      off-by-1 error in incremental contour levels : last one was not shown
  213.  *
  214.  * Revision 1.322  1996/12/09  15:57:59  drd
  215.  * drd: config tweaks
  216.  *      gif output on stdout
  217.  *      invnorm(0) on aix
  218.  *
  219.  * Revision 1.321  1996/12/08  13:08:56  drd
  220.  * Lars Hecking : extensive changes to autoconf and various portability
  221.  *                problems addressed. But is  ifdef __STDC__ enough,
  222.  *                or do we need if defined(__STDC__) && __STDC__  ?
  223.  *
  224.  * Revision 1.320  1996/12/08  12:28:48  drd
  225.  * Alexander Mai, Roger Fearick : more os/2 changes
  226.  * Joerg, drd : font 'name,size' for enhanced postscript
  227.  * drd : more checking in checkdoc, with file/line recording
  228.  *       latest FAQ
  229.  *
  230.  * Revision 1.319  1996/11/26  07:15:19  drd
  231.  * Alex Jolk: fix scientific formats %s/%S for -ve powers
  232.  * Roger Fearick: os/2 fixes
  233.  *
  234.  * Revision 1.318  1996/11/25  22:37:40  drd
  235.  * drd: accept '% g' for format
  236.  *      tolerate pressing ^c while in help
  237.  *      both x11 and X11 terminals accept options
  238.  *      set nomxtics ; save 'all.gnu' no longer outputs 'set no mxtics'
  239.  *      move reopen of output file into term_init so that cgm output is not
  240.  *        truncated when terminal is subsequently changed
  241.  *      $0 in plot 'file' resets to 0 after an index change
  242.  *      column(-1) works same as  plot 'file' using -1:1
  243.  *       - so plot 'file' using ($0+column(-1)):1 skips an x at blank lines
  244.  *      set contour ; splot 0  no longer faults
  245.  *      splot '/dev/null' binary   no longer faults
  246.  *      bf_test opens files "wb" on all platforms
  247.  *
  248.  * Revision 1.317  1996/11/24  16:47:13  drd
  249.  * drd: fix polar-mode tics when rmin != 0
  250.  *      splot f(x,y)=x*y, f(x,y) faulted
  251.  *       - scoping problem in plot3d.c : I blame the inconsistent indentation
  252.  *      add tkcanvas driver (see file for authors)
  253.  * Ed.Breen@dms.csiro.au clear for x11
  254.  * Dick Crawford: latest doc changes
  255.  * dkh: buildvms.com fix
  256.  *
  257.  * Revision 1.316  1996/10/21  19:51:18  drd
  258.  * drd: fix radial grid lines in polar mode
  259.  *      fix seg fault with  set dgrid ; splot '/dev/null'
  260.  *      pointsize and wide lines for pslatex
  261.  *      plot ... linestyle was not being accepted
  262.  * HBB: remove 32k limit for DOS32
  263.  * Emmanuel Bigler : vector demo (for x11 only)
  264.  * Avinoam Kalma, drd:  show action_table
  265.  * Joerg : more consistent linewidth stuff
  266.  *         save cleanup ; add comments
  267.  *
  268.  * Revision 1.315  1996/09/29  21:12:41  drd
  269.  * drd: no ! after a shell command, except in interactive mode
  270.  *      fix polar mode bug
  271.  *      use fancy formats in user-defined tics
  272.  *
  273.  * Revision 1.314  1996/09/23  20:55:03  drd
  274.  * drd: try acos again : acos(-2) _is_ defined (but complex)
  275.  *      post.trm was using pointsize directly, hence everything scaled twice
  276.  *      - next.trm looks like it was doing the same
  277.  *      define null pointsize routine to set scale for generic do_point
  278.  *      test now fflushes (actually, uses term_start_plot and term_end_plot)
  279.  *
  280.  * Revision 1.313  1996/09/22  21:08:28  drd
  281.  * drd: include time.c in buildvms.com
  282.  *      fix latex character width (again)
  283.  *      fix problem with linetypes not matching key on post.trm
  284.  *      anticipate -ve log in acos()
  285.  * Carsten Steger: amiga fixes
  286.  *
  287.  * Revision 1.312  1996/09/18  23:15:09  drd
  288.  * drd: fix font sizes in latex term
  289.  *      try to work around assertion failure with x1y2 axes in parametric
  290.  * Roger Fearick: pm.trm tweaks
  291.  * Martijn Schipper: os9 changes
  292.  *
  293.  * Revision 1.311  1996/09/16  20:22:18  drd
  294.  * drd: fix seg fault with fig term on sunos
  295.  *      -DNOGAMMA if neither lgamma nor gamma defined
  296.  *      truncate term_options before call term->options
  297.  * Gary Holt, drd: outstr stored twice in save : now only a comment is output
  298.  * W.Geppert: doc changes
  299.  *
  300.  * Revision 1.310  1996/09/15  13:04:06  drd
  301.  * HBB: hidden3d fix
  302.  * gary Holt: configure --with-gnu-readline[=path]
  303.  * Dick Crawford: latest docs
  304.  * drd: file copyrights, comp.graphics.apps.gnuplot
  305.  *
  306.  * Revision 1.309  1996/09/11  23:39:56  drd
  307.  * drd: try again to get the line property keywords right
  308.  *      remove duplicate pointsize entry points from term structure, and
  309.  *      reimplement set pointsize via line property stuff
  310.  *      implement line width for x11
  311.  *      fix "unknown type in real()" from  plot '<echo 0 0' thru 1/x
  312.  *
  313.  * Revision 1.308  1996/09/10  22:08:28  drd
  314.  * Alexander Jolt: relative errors displayed for fit
  315.  * Roger Fearick: more os2 changes
  316.  * drd: change "" to '' in latextut/*.plt
  317.  *      fix typo in hidden3d.c
  318.  *      tweaks to term/*.trm to make gnuplot.tex build cleanly
  319.  *
  320.  * Revision 1.307  1996/09/10  21:07:11  drd
  321.  * drd: de-ANSI-fication for sun cc
  322.  *      fix problem in df_readline as shown up by 'purify'
  323.  *      linewidth tweaks
  324.  *      make next.trm conformant with termdoc.c
  325.  *      also, remove some unbalanced ' in strings that were upsetting cpp ?
  326.  *      move .NOEXPORT from top of docs/Makfile.in and latextut/...
  327.  * Steve Stuart: typo in makefile.unx
  328.  *
  329.  * Revision 1.306  1996/09/08  20:03:33  drd
  330.  * drd: tweaks to lp patch (parsing as #defines in plot.h, not lp_parse.inc)
  331.  *      try again to tolerate "{/Symbol hello\nworld}" in enhpost
  332.  * Topher Cawlfield: histeps style (at last)
  333.  *
  334.  * Revision 1.305  1996/09/05  21:16:21  drd
  335.  * Joerg: linewidth patch (with some gratuitous drd tweaks !)
  336.  *
  337.  * Revision 1.304  1996/09/05  19:45:50  drd
  338.  * drd: run configure.in through autoconf 2.10
  339.  *      fix autoranging bug in binary splot
  340.  * HBB: fix 'update' and demo
  341.  *
  342.  * Revision 1.303  1996/09/04  21:15:35  drd
  343.  * drd: comments in .doc file, so I can add an RCS ID
  344.  *      don't assert fail with  plot 'file' binary
  345.  * HBB: FSF-compliant Makefile.in, but not yet since my autoconf is old
  346.  *      hidden-friendly demo/whale.dat
  347.  *      multiplot clear  for djsvga
  348.  *      detect candlesticks/financebars in splot
  349.  * Konrad Berloehr: fig.trm revisions
  350.  * Thomas Koenig: on-the-fly postscript non-reencoding
  351.  *
  352.  * Revision 1.302  1996/09/02  22:36:55  drd
  353.  * drd, William Kirby: more problems with change to outstr
  354.  * drd: save of xdata time was broken
  355.  * Dick Crawford: set key samplen and spacing
  356.  * drd: axis alias for axes in  plot ... axes ...
  357.  * HBB: hidden3d typo fix
  358.  * Konrad Bernloehr: fig driver changes
  359.  * Alex Woo: gif driver - user-specified sizes
  360.  * drd: oops - put in pm.trm.rej that I missed last time
  361.  *
  362.  * Revision 1.301  1996/08/15  00:04:44  drd
  363.  * drd: use AC_CHECK_FUNCS for strnicmp, ..., and update makefiles
  364.  *      tolerate no closing backquote at end of line
  365.  *      no limit on output filename
  366.  *      main is int in doc2* funcs
  367.  * Robert Lutwak: NeXT stuff (at last - sorry !)
  368.  *
  369.  * Revision 1.300  1996/08/13  21:48:13  drd
  370.  * drd: dont check for #warn - solaris cant do it, but we dont use it
  371.  *      *at last* - plot ... axes x1y2 ...
  372.  *      typo in recent change to parse.c :-(
  373.  *      (de-ansify macros in hidden3d.c in 299 but I forgot to note it)
  374.  *
  375.  * Revision 1.299  1996/08/12  21:36:10  drd
  376.  * Steve Turner, drd : eliminate warnings from enthusiastic SGI compiler
  377.  * Santiago Vila Docel: more VPATH makefile tweaks
  378.  * Alex Woo,Roger Fearick: gnuplot.doc error
  379.  * Roger Fearick: os/2 patches
  380.  * drd: infinite loop in enhpost with spurious '}' in text
  381.  *
  382.  * Revision 1.298  1996/08/11  21:56:20  drd
  383.  * Pieter Vosbeek: gnu readline
  384.  *                 pslatex bounding box
  385.  * David Schooley: mac patches
  386.  * Santiago Vila Doncel: mkinstalldirs
  387.  * Alexander Lehmann: PNG terminal changes
  388.  * HBB: hidden3d tweaks
  389.  *      fit sanity checks
  390.  *      djsvga terminal changes
  391.  * drd: 3d fitting ; eliminate FIT_INDEX
  392.  *      support for ... using -1  and  -2  (line and index)
  393.  *
  394.  * Revision 1.297  1996/08/08  21:24:48  drd
  395.  * drd: financebars / candlesticks
  396.  *      plot 'file' using 0:1 gives x=0,1,...
  397.  *      optional keyword 'font' in set xlabel etc
  398.  * Rolf Niepraschk: new descrip.mms
  399.  * Jens Emmerich: fix undefined points in splines
  400.  *
  401.  * Revision 1.296  1996/08/05  20:05:02  drd
  402.  * drd: latest FAQ
  403.  *      provide a default location for HELPFILE in Makefile.in
  404.  *      include stdfn.h in gplt_x11.c, for index() on solaris
  405.  *      back out size/font-dependent tics {also fixes  set format y '' bug}
  406.  *      save \'s in xtics properly
  407.  *      fix typo in djsvga.trm
  408.  *      increase pslatex aux file from MAX_ID_LEN to MAX_LINE_LEN
  409.  *      dont use PS_set_font from pslatex driver
  410.  * Santiago Vila Doncel : some Makefile.in tweaks
  411.  *
  412.  * Revision 1.295  1996/07/14  15:13:44  drd
  413.  * drd: update Projects and WhatsNew
  414.  *      restore set size nosquare : it does no harm
  415.  *      include stdlib.h in gplt_x11.c for malloc()
  416.  *      rename vfree() in hidden3d.c to avoid name clash on next
  417.  * Carsten Steger: atan2() for real args
  418.  * Chuck McCorvey: fix for windows 95 printing
  419.  * Rolf Niepraschk: descrip.mms etc for VMS
  420.  *
  421.  * Revision 1.294  1996/07/14  11:51:55  drd
  422.  * drd: max_params typo in fit.c
  423.  *
  424.  * Revision 1.293  1996/06/27  22:04:48  drd
  425.  * drd: print "this", z, "that", f(2), ...
  426.  *      ICCCM export of X11 pixmap
  427.  *
  428.  * Revision 1.292  1996/06/27  21:07:55  drd
  429.  * drd: add set size ratio ...
  430.  *      take David Kotz' name out of latextut [at his request]
  431.  *      try to fix the linux/x11 plot with dots problem
  432.  * Hans-Bernhard Broeker: extra checks in fit.c
  433.  * Scott Lurndal: variable scope in help.c [reported against 3.5]
  434.  * Alex Woo: Makefile for docs
  435.  * William Kirby: colours in win32 [again !]
  436.  * Carsten Steger: amiga fixes
  437.  * Dick Crawford: yet more postscript symbols
  438.  * Joerg Fischer: makefile.all fixes
  439.  * Neil Mathews: gplt_x11 tweaks
  440.  * Rolf Niepraschk: SQRTPI wrong in specfun.c !
  441.  * Joerg Fischer: back out a personal-preference change made earlier
  442.  *
  443.  * Revision 1.291  1996/06/05  21:39:01  drd
  444.  * pl291
  445.  * drd: term_reset() didn't check that term had been initialised
  446.  *      enhance the heap checking with CHECK_HEAP_USE build
  447.  *      trap access violation in hidden3d
  448.  *      fit was bypassing alloc routines
  449.  *      add leak-check calls around the plot calls
  450.  *
  451.  * Revision 1.290  1996/06/03  19:22:46  drd
  452.  * pl290
  453.  * drd: get rid of some warnings on NT
  454.  *      fix access violation in hidden3d
  455.  *      define GP_INLINE for inline fns if directive available
  456.  * Martijn Schipper: os-9 changes for x11
  457.  * Lars Hecking,drd : better support for on_exit vs atexit
  458.  *
  459.  * Revision 1.289  1996/06/02  21:44:55  drd
  460.  * pl289
  461.  * Hans-Bernhard Br"oker : many changes integrated (at last !)
  462.  *
  463.  * Revision 1.288  1996/06/02  20:26:42  drd
  464.  * drd: revisit time code again.
  465.  *      add undocumented command: testtime 'format' 'string'
  466.  *
  467.  * Revision 1.287  1996/05/16  21:25:03  drd
  468.  * drd : oops - replot was broken
  469.  *       oops - make command.o was broken
  470.  *       fix the problems with the keyhole
  471.  * Joerg Fischer : fix number of call args to 10 as documented
  472.  *
  473.  * Revision 1.286  1996/05/16  19:49:54  drd
  474.  * drd: reset state of ytics did not match startup state
  475.  *      print datafile name in error message if it failed to open
  476.  *      default locale is "C", not ""  ("" gives error on linux ?)
  477.  * Mark Diekhans : compile on FreeBSD
  478.  * Jim Van Zandt : CGM tweaks
  479.  *
  480.  * Revision 1.285  1996/05/14  19:50:08  drd
  481.  * drd: fix bug in linespoints / title ''  code
  482.  *      show arrow output
  483.  * Jim Van Zandt : cgm tweaks
  484.  * Joji Maeda : trap division by zero in  view 90,90
  485.  *
  486.  * Revision 1.284  1996/05/14  18:59:18  drd
  487.  * drd: second attempt to move open_printer out of win.trm
  488.  *
  489.  * Revision 1.283  1996/05/13  21:04:05  drd
  490.  * drd: typo in gplt_x11.c
  491.  *      incorporate latest makefile.all into Makefile.in
  492.  *      try to clean up groff-ing of gnuplot.ms (not there yet)
  493.  *
  494.  * Revision 1.282  1996/05/13  19:27:31  drd
  495.  * Bruce Bowler: VMS gplt_x11.c termination fix
  496.  * drd: NT changes to makefile.all
  497.  *      move open_printer() etc from win.trm to wprinter.c
  498.  *      time.c changes to compile on NT
  499.  *
  500.  * Revision 1.281  1996/05/08  20:57:12  drd
  501.  * Dick Crawford: latest docs
  502.  * Alex Woo, William Kirby : latest gif driver (name changed)
  503.  *
  504.  * Revision 1.280  1996/05/08  19:24:16  drd
  505.  * drd: another change to the shared segment of the makefiles
  506.  *      (core.mak was a bad choice of name, since make clean kills it)
  507.  *
  508.  * Revision 1.279  1996/03/04  22:10:45  drd
  509.  * drd: more tweaks to term.c API
  510.  * Alex Woo / Sam Shen : new gdgif.trm [no help yet]
  511.  *
  512.  * Revision 1.278  1996/03/04  21:41:36  drd
  513.  * drd: second attempt at getting core.mak into Makefile
  514.  *
  515.  * Revision 1.277  1996/03/04  20:50:33  drd
  516.  * drd: add core.mak, and arrange for it to be appended to Makefile by
  517.  *      ./configure
  518.  *
  519.  * Revision 1.276  1996/03/04  20:33:54  drd
  520.  * drd: largish restructure of outfile access: rules are too complex to
  521.  *      allow manipulation outside term.c, so provide a term_* API
  522.  *      Separate out the replacement time routines into time.c, allowing
  523.  *      use of either system routines or supplied routines
  524.  *      Add TERM_BINARY flag to term structure
  525.  *      gplt_x11.c/VMS - typo in client message code
  526.  * Joerg: fix typo in setting of axes
  527.  * Werner: increase fixed string buffers in tgif.trm
  528.  *
  529.  * Revision 1.275  1996/03/01  21:17:30  drd
  530.  * drd: new file time.c - update lots of makefiles
  531.  *      fix typo in VMS gplt_x11.c
  532.  *
  533.  * Revision 1.274  1996/02/27  20:50:47  drd
  534.  * drd: fix multiplot for x11
  535.  *      commit replot line at last possible moment, guarding against typos
  536.  *
  537.  * Revision 1.273  1996/02/26  23:12:36  drd
  538.  * Roger Fearick : fix   pause -1 ; print 1
  539.  * drd :  fix  plot sin(x) ; replot cos(x)
  540.  *
  541.  * Revision 1.272  1996/02/26  22:49:44  drd
  542.  * William Kirby,Alex Woo,Roger Fearick: doc fixes
  543.  * William Kirby: tweaks to djgpp/2 and bc/win32 makefiles
  544.  * Roger Fearick: doc2ipf fixes
  545.  * David Liu: emxvga fixes
  546.  * drd: oops - wgnupl32.def was not commited to cvs
  547.  *
  548.  * Revision 1.271  1996/02/26  21:55:17  drd
  549.  * drd: detect on_exit() in place of atexit() for sunos 4
  550.  * Jim Van Zandt : cgm driver (portability tweaks by drd)
  551.  * Lucas Hart, drd : better gnuplot_x11 error response in VMS
  552.  * Rolf Niepraschk : compile gnuplot_x11 on VMS
  553.  * John Turner: tweaks to compile cleanly
  554.  * John Eaton: solid/dash for pslatex
  555.  *
  556.  * Revision 1.270  1996/02/24  19:10:24  drd
  557.  * drd: accept lp as an abbreviation for linespoints
  558.  *      accept using ::4  as  using 1:2:4
  559.  * Joerg Fischer : new format letter %P for multiple of pi
  560.  * drd: get rid of some of the obvious problems in gnuplot.tex output
  561.  *      define DOS32 in emx and djgpp makefiles
  562.  * Emmanual Bigler,drd: tweaks for djgpp vsn 2
  563.  * drd: small tweaks to show output
  564.  *      feed option on dumb terminal
  565.  *      tweaks to new x11 terminal
  566.  *
  567.  * Revision 1.269  1996/02/23  01:32:04  drd
  568.  * drd: make new x11 driver work for VMS
  569.  *      handle WM_DELETE_WINDOW messages neatly (all x11 ports)
  570.  * Dick Crawford, drd: docs
  571.  *
  572.  * Revision 1.268  1996/02/22  00:54:55  drd
  573.  * Neil Mathews: set auto fix
  574.  * drd: show arrows ; user-defined tics
  575.  * Roger Fearick: os/2 patches
  576.  * Emmanual Bigler: makefile for djgpp 2
  577.  * Joerg Fischer: GPMIN/MAX
  578.  * Anthony Heading: daycount bug
  579.  *
  580.  * Revision 1.267  1996/02/21  23:50:35  drd
  581.  * Gary Holt, drd : multiple, persistent X windows
  582.  * drd : tweaks to gdgif driver
  583.  *
  584.  * Revision 1.266  1996/02/17  18:28:00  drd
  585.  * Dick Crawford - terminal-driver help text
  586.  * Mark Charney - location of gdgif library
  587.  * Thomas Koenig - trap floating point exception in set view 0,90
  588.  * drd: TERM_CAN_MULTIPLOT in pm.trm
  589.  *      rationalise code in x11.trm
  590.  *      HAVE_LOCALE -> NO_LOCALE_H in configuration
  591.  *      tweak makefiles for documentation
  592.  *
  593.  * Revision 1.265  1996/01/30  23:47:14  drd
  594.  * drd: tweak malefile.djg
  595.  * Stefan Bodewig: doc2info.c and xref.c
  596.  * Dick Crawford: new gnuplot.doc
  597.  *   - note that there is a problem with tables in doc2ipf !
  598.  *
  599.  * Revision 1.264  1996/01/28  16:31:44  drd
  600.  * drd: take out defunct atari.trm from some makefiles
  601.  *      (try to) choose real(sqrt(z)) >= 0
  602.  * Emmanuel Bigler, drd: encoding support for hpgl
  603.  * Werner Geppert: fixes to help text in post.trm and x11.trm
  604.  * Stefan Bodewig: add asinh etc
  605.  * Pieter Vosbeek: new pslatex.trm
  606.  * Emmanual Bigler: djsvga.trm
  607.  *
  608.  * Revision 1.263  1996/01/25  19:47:34  drd
  609.  * drd: all doc2* filters use termdoc.c
  610.  *      trap seg fault in doc2rtf.c
  611.  *      tweak grass.trm to work with doc2*
  612.  *
  613.  * Revision 1.262  1996/01/24  22:18:24  drd
  614.  * drd: optional heap checking if compiled with CHECK_HEAP_USE
  615.  *      remove term/emxvgaold.trm  term/bigfig.trm  term/pstex.trm
  616.  *      tweaks to hpljii.trm and win.trm for making manual with *.trm
  617.  *      docs/termdoc.c reads from allterm.h if -DALL_TERM
  618.  *
  619.  * Revision 1.261  1996/01/23  20:42:24  drd
  620.  * Stephen Peters : %%Orientation in postscript output
  621.  * Thomas Witelski,drd: space after mirror in save_xtics
  622.  * Axel Kielhorn,drd: reset x2range
  623.  * Joerg Fischer,drd: change to GPMIN/GPMAX
  624.  *                    extend scientific symbols in gsprintf
  625.  *                    restore reading of files on command line
  626.  *
  627.  * Revision 1.260  1996/01/23  19:25:56  drd
  628.  * drd: tweaks to compile on NT (hope I got them all)
  629.  *
  630.  * Revision 1.259  1996/01/22  21:22:25  drd
  631.  * drd: have a go at   splot 'file' matrix   - index not done yet
  632.  *
  633.  * Revision 1.258  1996/01/18  20:36:22  drd
  634.  * Pedro Mendes, drd: try to tidy up sources/build for win16/win32
  635.  *
  636.  * Revision 1.257  1996/01/17  23:09:43  drd
  637.  * drd: first attempt at clear for multiplot
  638.  *      catch seg fault in xstrftime
  639.  *      fix output in show/save xrange for xdata time
  640.  *
  641.  * Revision 1.256  1996/01/16  22:12:34  drd
  642.  * drd: trap a div by zero with xdtics / xmtics
  643.  *      try to support tm_wday field in ggmtime()
  644.  *      first attempt at timecolumn() and tm_sec() family
  645.  *
  646.  * Revision 1.255  1996/01/11  22:45:12  drd
  647.  * Volker Solinus, drd: avoid namespace clashes with zlib used by png term
  648.  * Joerg Fischer: more help moved into terminal driver files
  649.  *
  650.  * Revision 1.254  1996/01/11  22:25:28  drd
  651.  * jrv@vanzandt.mv.com : auto contours at "nice" levels
  652.  * hkeller@gwdg.de : improvements to contouring code
  653.  *
  654.  * Revision 1.253  1996/01/11  21:58:22  drd
  655.  * Lucas Hart: trap a division by zero
  656.  * Volker Solinus: fix some weird problems caused by folding editor
  657.  * Carsten Steger: many small tweaks to compile on HP-UX and Amiga
  658.  *
  659.  * Revision 1.252  1996/01/11  21:43:34  drd
  660.  * s.mccluney@bre.com: make  wgnuplot filename  run until plot window is
  661.  *                     explicitly closed, or enter interactive session if
  662.  *                     /noend is specified
  663.  *
  664.  * Revision 1.251  1996/01/10  21:26:19  drd
  665.  * drd: add file gnuplot.opt containing a list of the core files
  666.  *      update makefile.vms to use this. Comments in some other makefiles
  667.  *
  668.  * Revision 1.250  1996/01/10  20:18:37  drd
  669.  * drd: add doc2html.c into the cvs tree, and so into distribution
  670.  *      trivial tweaks to win/ files to compile with VC++
  671.  *
  672.  * Revision 1.249  1996/01/10  20:07:49  drd
  673.  * cmw: patches for win32s using borland c + various small tweaks
  674.  *
  675.  * Revision 1.248  1995/12/20  22:44:28  drd
  676.  * Erik Luijten: missing static keyword in set.c
  677.  *               fix a small layout problem in Makefile.in
  678.  * Joerg Fischer: put back in the extra line in boxed key
  679.  * drd: post eps bounding box
  680.  *      make %T print as %d not %f hence no trailing .000000
  681.  *
  682.  * Revision 1.247  1995/12/20  21:46:41  drd
  683.  * Stefan Bodewig: updated remaining terminals
  684.  * Joerg Fischer: moved help text to drivers
  685.  * Dick Crawford: docs/ps_guide.ps
  686.  *
  687.  * Revision 1.246  1995/12/18  22:41:13  drd
  688.  * drd: accept %+... in gprintf()
  689.  *      first attempt at accepting  set ytics [start,]step[,end]
  690.  *
  691.  * Revision 1.245  1995/12/14  21:08:59  drd
  692.  * drd: oops - range calculation wrong in splines
  693.  * Neil Mathews: catch a possible pointer mis-access
  694.  * Joerg Fischer: tidy the set/show messages
  695.  *
  696.  * Revision 1.244  1995/12/12  22:15:24  drd
  697.  * drd: make interpol.c aware of dual axes and log scales
  698.  *      tighten up on plot using n  cf  plot using 0:n, including plot..every
  699.  *
  700.  * Revision 1.243  1995/12/11  23:14:09  drd
  701.  * drd: dont seg fault if initial term not identified
  702.  *      dont take logs twice in spline stuff
  703.  *      both min and MIN are defined by some compilers - use GPMIN
  704.  *      update spline demo
  705.  * various: small tweaks for different compilers
  706.  *
  707.  * Revision 1.242  1995/12/10  18:40:57  drd
  708.  * drd: back out change to bitmap.h [dont quite understand, actually !]
  709.  *      second attempt at setlocale stuff
  710.  *
  711.  * Revision 1.241  1995/12/07  21:58:06  drd
  712.  * drd: tweaks to configure.in, Makefile.in
  713.  *      add set locale
  714.  * Hans Olav Eggestad: timeseries patches
  715.  *
  716.  * Revision 1.240  1995/12/05  22:18:51  drd
  717.  * drd: try to fix the postscript bounding-box and reencode problems
  718.  * Joerg Fischer: cp437 and cp830 code pages for postscript
  719.  * drd: bogus code in boundary() in graphics.c (ybot used before set)
  720.  *
  721.  * Revision 1.239  1995/12/02  22:04:44  drd
  722.  * carsten steger: amiga fixes, plus upgrades for several terminals
  723.  * drd: make post.trm variables static
  724.  *
  725.  * Revision 1.238  1995/12/02  21:16:50  drd
  726.  * drd and many others: small tweaks to code to avoid compiler warnings
  727.  *     and improve portability
  728.  *
  729.  * Revision 1.237  1995/11/29  19:01:22  drd
  730.  * schooley@ee.gatech.edu: mif.trm
  731.  * Ian MacPhedran: hpgl.trm
  732.  *
  733.  * Revision 1.236  1995/11/29  17:45:30  drd
  734.  * drd: changes for VMS
  735.  *
  736.  * Revision 1.235  1995/11/29  14:32:26  drd
  737.  * schuh@meteo.uni-koeln.de: fix splines, etc
  738.  *                           plot 'file' smooth ...
  739.  *
  740.  * Revision 1.234  1995/11/27  12:57:30  drd
  741.  * Ian_MacPhedran@engr.USask.CA : coloured points in fig output
  742.  *
  743.  * Revision 1.233  1995/11/27  11:28:48  drd
  744.  * drd: add x2 label
  745.  *      allow fonts for title / axis labels / time
  746.  *      allow strftime format for timestamp
  747.  *
  748.  * Revision 1.232  1995/11/20  12:04:53  drd
  749.  * Joerg Fischer: extra line in boxed key
  750.  *
  751.  * Revision 1.231  1995/11/20  11:28:45  drd
  752.  * drd: a few portability concerns
  753.  * beebe@math.utah.edu - trap use of void fn in an expression.
  754.  *
  755.  * Revision 1.230  1995/11/17  17:58:01  drd
  756.  * drd: try to eliminate the MAXINT problem in datafile.c
  757.  *
  758.  * Revision 1.229  1995/11/03  11:23:54  drd
  759.  * drd: accept x1y2 etc as well as first or second
  760.  *      small change to tics for very small plots
  761.  *
  762.  * Revision 1.228  1995/11/02  16:55:29  drd
  763.  * drd: dont core dump when plot is very small - disable key instead
  764.  *      when autoscaling tics, take plot size and font size into account
  765.  * Neil Mathews : dont forget to alloc room for string terminator
  766.  *
  767.  * Revision 1.227  1995/11/02  13:14:05  drd
  768.  * drd: support boxed key with key under
  769.  *
  770.  * Revision 1.226  1995/11/01  19:05:06  drd
  771.  * drd: splot fix for rs6000
  772.  *      allow negative ticslevel
  773.  *      geometric series tics for logscale
  774.  *      enhanced sprintf for tic format
  775.  *
  776.  * Revision 1.225  1995/11/01  17:43:50  drd
  777.  * drd: added png and updated several other drivers, particularly for help
  778.  *      add the code to doc2gih and doc2hlp to merge help from driver files
  779.  *
  780.  * Revision 1.224  1995/08/25  07:39:46  drd
  781.  * drd: show, save and reset 'origin'
  782.  *      trap seg.fault in dumb.trm
  783.  *      avoid garbage on exit from linux vga
  784.  *      reset ordinate at double blank line
  785.  * John Turner : tidy up key
  786.  *
  787.  * Revision 1.223  1995/08/24  17:06:47  drd
  788.  * drd: detect tempnam in configure
  789.  *
  790.  * Revision 1.222  1995/08/24  13:06:32  drd
  791.  * drd: run configure.in through autoconf 2.4
  792.  *
  793.  * Revision 1.221  1995/08/24  12:49:55  drd
  794.  * drd: update dumb and latex terminals
  795.  * Joerg Fischer : small change to pm driver
  796.  *
  797.  * Revision 1.220  1995/08/24  11:54:12  drd
  798.  * drd: many small changes :   index a:b:c for splot, fixes for vms compile,
  799.  *      preserve \ in strings saved then loaded
  800.  *
  801.  * Revision 1.219  1995/07/28  16:22:38  drd
  802.  * drd: still trying to get it to compile on sun
  803.  *
  804.  * Revision 1.218  1995/07/28  10:19:03  drd
  805.  * drd: more changes to make it compile on sun
  806.  *
  807.  * Revision 1.217  1995/07/27  16:23:05  drd
  808.  * drd: changes to compile on archaic sun compiler
  809.  *      - some ANSI prototypes without __P had sneaked in
  810.  *      - sun compiler doesn't merge adjacent string constants ?
  811.  *      - 0L caused error ?
  812.  *      (still a problem with float.h ?)
  813.  *
  814.  * Revision 1.216  1995/07/21  10:45:45  drd
  815.  * Ian McPhedron, drd - updated various tek drivers to new format
  816.  *
  817.  * Revision 1.215  1995/06/22  15:20:37  drd
  818.  * drd: fix garbage output from print {1, 1.74268162741998e-08}
  819.  *      atari terminals in makefile.unx
  820.  *
  821.  * Revision 1.214  1995/06/19  14:22:14  drd
  822.  * werner@bilbo.mez.ruhr-uni-bochum.de : tgif.trm
  823.  * Dick Crawford : new docs
  824.  *
  825.  * Revision 1.213  1995/06/19  13:10:25  drd
  826.  * drd: fix missing ytics in splot
  827.  *      splot x*y ; plot x  didn't (seem to) do the plot
  828.  * tony@plaza.ds.adp.com : atof not prototyped in scanner.c
  829.  * dirk@lstm.uni-erlangen.de : typos in term.h and ataries.trm
  830.  *
  831.  * Revision 1.212  1995/06/16  12:37:09  drd
  832.  * drd : update regis terminal
  833.  *
  834.  * Revision 1.211  1995/06/16  12:02:41  drd
  835.  * turner@lanl.gov : /usr/openwin -> $OPENWINHOME in makefile.unx
  836.  *
  837.  * Revision 1.210  1995/06/16  11:58:32  drd
  838.  * schuh@meteo.Uni-Koeln.DE : add bezier, etc to saved output
  839.  *
  840.  * Revision 1.209  1995/06/16  11:45:50  drd
  841.  * drd: make enhpost an 'enhanced' option on post.trm
  842.  *
  843.  * Revision 1.208  1995/06/16  10:07:51  drd
  844.  * Thomas.Koenig : set encoding
  845.  *
  846.  * Revision 1.207  1995/06/16  09:06:49  drd
  847.  * macphed@dvinci.usask.ca, drd: implement MINEXP
  848.  *
  849.  * Revision 1.206  1995/06/16  07:57:00  drd
  850.  * drd: saved absolute key position incorrectly
  851.  *
  852.  * Revision 1.205  1995/06/15  15:51:21  drd
  853.  * Richard Stanton : os2 makefile
  854.  * prm@aber.ac.uk  : windows patch
  855.  *
  856.  * Revision 1.204  1995/06/15  15:35:59  drd
  857.  * drd, papp@tpri6f.gsi.de : effort to store all co-ordinate numbers
  858.  *                           in unsigned variables
  859.  *
  860.  * Revision 1.203  1995/06/15  10:51:22  drd
  861.  * drd: show zeroax  was showing wrong linetype
  862.  * pieter@wfw.wtb.tue.nl : update pslatex driver to output plain TeX
  863.  *
  864.  * Revision 1.202  1995/06/15  10:30:42  drd
  865.  * drd: key wrong with   set cont; splot ... notitle
  866.  * anonymous: makefile.tc fixes
  867.  *
  868.  * Revision 1.201  1995/06/14  13:13:03  drd
  869.  * drd: h_tic and v_tic reversed in xtick_callback and ytick_callback
  870.  *
  871.  * Revision 1.200  1995/06/14  12:20:42  drd
  872.  * dirk@lstm.uni-erlangen.de: atari patches
  873.  *
  874.  * Revision 1.199  1995/06/13  14:13:23  drd
  875.  * drd: tidy up contour key entries.
  876.  *      accept   set clabel ['format'] to control key printf format.
  877.  *
  878.  * Revision 1.198  1995/06/13  10:18:10  drd
  879.  * drd: portrait and landscape were switched in enh/post.trm
  880.  *
  881.  * Revision 1.197  1995/06/12  18:09:30  drd
  882.  * drd: fix ylabel x-coord when origin is displaced from 0,0
  883.  *      fix output from 'show margin'
  884.  *
  885.  * Revision 1.196  1995/06/12  14:19:07  drd
  886.  * drd: fix bug where empty data files not correctly trapped
  887.  *
  888.  * Revision 1.195  1995/06/12  12:05:04  drd
  889.  * drd: fix bug in fortran D/Q detection
  890.  *      put #ifdef LINUX around linux.trm in term.h
  891.  *
  892.  * Revision 1.194  1995/05/26  17:41:52  drd
  893.  * anonymous ! (uploaded to /incoming)
  894.  *
  895.  * Revision 1.193  1995/05/26  17:25:47  drd
  896.  * Roger Fearick: os/2 patches
  897.  *
  898.  * Revision 1.192  1995/05/25  16:44:27  drd
  899.  * drd: multiplot for splot; suspend only when prompt is issued
  900.  *
  901.  * Revision 1.191  1995/05/25  14:24:08  drd
  902.  * drd: change term_tbl[term] to term-> in preparation for change to
  903.  *      linked lists of terminals
  904.  *
  905.  * Revision 1.190  1995/05/25  13:38:17  drd
  906.  * drd: fix memory leak when plotting files without \n before EOF
  907.  *
  908.  * Revision 1.189  1995/05/25  10:47:21  drd
  909.  * drd: error in parsing   set *range reverse writeback
  910.  *
  911.  * Revision 1.188  1995/05/12  12:26:35  drd
  912.  * woo,drd: initial multiplot support
  913.  *
  914.  * Revision 1.187  1995/05/11  15:22:51  drd
  915.  * Richard Stanton, Roger Fearick : OS/2 patches
  916.  * Russel Lang, Pedro Mendes      : windows patches
  917.  *
  918.  * Revision 1.186  1995/05/11  12:05:09  drd
  919.  * Martijn Schipper : os9 port
  920.  *
  921.  * Revision 1.185  1995/05/09  15:47:32  drd
  922.  * drd: trivial bug in reporting of extension of ranges < zero
  923.  *
  924.  * Revision 1.184  1995/05/09  15:35:01  drd
  925.  * drd: range reverse and writeback
  926.  *
  927.  * Revision 1.183  1995/05/09  12:27:15  drd
  928.  * several beta testers : mismatch in declarations for {xy}fact across files
  929.  *
  930.  * Revision 1.182  1995/05/09  12:23:51  drd
  931.  * drd: realloc(NULL,x) is not to be trusted
  932.  *
  933.  * Revision 1.181  1995/04/27  14:33:42  drd
  934.  * dirk@lstm.uni-erlangen.de : fix 'set nozeroaxis' bug
  935.  * drd: syntax error in gplt_x11.c
  936.  *
  937.  * Revision 1.180  1995/04/27  14:00:11  drd
  938.  * Richard Standton: os/2 changes
  939.  * mikulik@labs.polycnrs-gre.fr : djgpp changes
  940.  * drd: two blank lines after table output, for index
  941.  *      pointsize parsing in gplt_x11.c
  942.  *
  943.  * Revision 1.179  1995/04/27  12:06:05  drd
  944.  * drd: more recent FAQ
  945.  *      update some makefiles
  946.  *      use graph_error() rather than int_error() while graphics active
  947.  *      allow mix of co-ordinate systems _within_ arrow/label posn.
  948.  *
  949.  * Revision 1.178  1995/04/24  10:41:54  drd
  950.  * Roger Fearick: more os/2 changes
  951.  * drd: trivial portability fixes
  952.  *
  953.  * Revision 1.177  1995/04/22  14:22:07  drd
  954.  * drd: accept set size x  since if there is no ,y  xsize already changed
  955.  *      guard against division by zero when fit is almost perfect
  956.  *
  957.  * Revision 1.176  1995/04/21  15:02:03  drd
  958.  * drd: update a few of the makefiles
  959.  *      temporary fixes to the non-portable timeseries code
  960.  *
  961.  * Revision 1.175  1995/04/21  12:46:18  drd
  962.  * drd: try to accept qQ in place of e for fortran quad numbers in datafile
  963.  *      split graph3d.c into graph3d.c, util3d.c, hidden3d.c  [needs cleanup]
  964.  *
  965.  * Revision 1.174  1995/04/20  18:11:55  drd
  966.  * olav@melvin.jordforsk.nlh.no : timeseries update
  967.  *                                set missing
  968.  * prm@aber.ac.uk : fix cd for win32
  969.  *
  970.  * Revision 1.173  1995/04/20  14:27:28  drd
  971.  * drd: modify table3d output so that it can be read back in as a data splot
  972.  *
  973.  * Revision 1.172  1995/04/20  13:18:52  drd
  974.  * prm@aber.ac.uk : win32 changes
  975.  * David Liu: merge pc graphics routines
  976.  *
  977.  * Revision 1.171  1995/04/20  12:54:40  drd
  978.  * drd: allow arbitrary number of columns and arbitrary length data lines
  979.  *      start undefined fit variables at 1 rather than 1e-30
  980.  * Werner Geppert: new-format texdraw.trm
  981.  *
  982.  * Revision 1.170  1995/04/19  15:57:04  drd
  983.  * Roger Fearick: changes for os/2
  984.  *
  985.  * Revision 1.169  1995/04/19  14:01:42  drd
  986.  * Alex Woo, drd: isnumber -> isanumber to avoid BSD name conflict
  987.  *
  988.  * Revision 1.168  1995/04/19  13:15:20  drd
  989.  * drd: remove polar.dat and antenna.dat from makefiles.
  990.  *
  991.  * Revision 1.167  1995/04/19  10:59:04  drd
  992.  * mccauley@ecn.purdue.edu: update grass terminal
  993.  * drd: fix bug in inverted range in plot2d.c
  994.  *
  995.  * Revision 1.166  1995/04/13  17:06:42  drd
  996.  * drd: last-minute changes to makefile.vms
  997.  *      implement sin(x) as expected for set angles degrees
  998.  *      fix bug : acos(cos({0,1})) was undefined
  999.  *
  1000.  * Revision 1.165  1995/04/13  15:26:38  drd
  1001.  * drd: rewrite compiler detection in buildvms.com
  1002.  *      fix plot second,x
  1003.  *      add a set_pointsize function to the terminal driver fn
  1004.  *      mods to term.c to support old and new forms of driver
  1005.  *      initial implementation of tic mirror and axis for splot
  1006.  *      a few  set no*  commands for consistency
  1007.  *      make  set bar  continuous rather than on/off
  1008.  *
  1009.  * Revision 1.164  1995/04/07  18:03:59  drd
  1010.  * drd: more fixes from betatesters.
  1011.  *      finally fix contour bug on OpenVMS/AXP and splot crash on OSF/AXP
  1012.  *
  1013.  * Revision 1.163  1995/04/06  13:59:00  drd
  1014.  * drd: the various small fixes to makefiles since release of 162
  1015.  *      fixes for set zero   and  plot second,first,x
  1016.  *
  1017.  * Revision 1.162  1995/04/04  16:00:22  drd
  1018.  * drd: remove gnubin from makefiles
  1019.  *
  1020.  * Revision 1.161  1995/04/04  15:14:13  drd
  1021.  * drd: set size square. graph and screen coordinates for labels, etc
  1022.  *      via is a requried keyword for fit. more code cleanups (#if 0)
  1023.  *
  1024.  * Revision 1.160  1995/04/03  19:09:21  drd
  1025.  * drd: allow key to be positioned at screen/graph co-ordinates
  1026.  *
  1027.  * Revision 1.159  1995/04/03  18:23:39  drd
  1028.  * phy6tc@gps.leeds.ac.uk : updated README.mf and makefile.unx for solaris
  1029.  * roger@rsun1.ms.ornl.gov, drd: accept i as abbreviation for index
  1030.  *                               was not autoscaling for binary splot
  1031.  * drd: implement absolute labels and arrows
  1032.  *      small changes to makefile.tc
  1033.  *
  1034.  * Revision 1.158  1995/04/03  11:13:44  drd
  1035.  * rjl: 16-bit changes (ie make pointers GPHUGE)
  1036.  *
  1037.  * Revision 1.157  1995/04/03  10:36:10  drd
  1038.  * rjl: win32 patches
  1039.  *
  1040.  * Revision 1.156  1995/03/31  17:53:12  drd
  1041.  * drd: a few more corrections to command.c/plot2d.c/plot3d.c
  1042.  *
  1043.  * Revision 1.155  1995/03/31  16:19:03  drd
  1044.  * drd: extract some code from command.c into plot2d.c and plot3d.c
  1045.  *      update makefiles, but I've probably missed something.
  1046.  *      (what's Makefile.in - can it be used to autogenerate the makefiles ?)
  1047.  *
  1048.  * Revision 1.154  1995/03/31  13:24:06  drd
  1049.  * drd: more code cleanups, vms prototypes...
  1050.  *      split setshow.c into set.c and show.c
  1051.  *
  1052.  * Revision 1.153  1995/03/31  10:22:23  drd
  1053.  * AL:  no auto cast of 0 to 0.0 to gen_tics() with k&r compilers.
  1054.  * drd: ditto for cast of double to int in calls to dbl_raise()
  1055.  *      code cleanup based on output from gcc -pedantic -Wall
  1056.  *      cc -xansi for SGI  and  -DHAVE_UNISTD_H for linux
  1057.  *
  1058.  * Revision 1.152  1995/03/28  14:27:02  drd
  1059.  * drd: update 00test and CodeStyle
  1060.  * AL:  explicit promotion of int->double since k&r compilers cant prototype
  1061.  *
  1062.  * Revision 1.151  1995/03/27  18:04:44  drd
  1063.  * drd: New (temporary) file WhatsNew
  1064.  *      update some demos (not sure cvs has noticed..?)
  1065.  *      zeroaxis linetype for 3d
  1066.  *      draw 2d zeroaxes after grid to get the correct linetype
  1067.  *
  1068.  * Revision 1.150  1995/03/27  15:00:04  drd
  1069.  * drd: couple of problems with non-ansi compilers.
  1070.  *      fonts for labels weren't being saved properly
  1071.  *      allow linetype to be specied for grid and zeroaxes
  1072.  *      allow all four margins to be specified : xmargin -> [lbrt]margin
  1073.  *
  1074.  * Revision 1.149  1995/03/27  09:41:50  drd
  1075.  * drd: reorder linux alphabetically in term.c
  1076.  *      rename popen.c to amiga.c, add a CVS id line, update makefile.amg
  1077.  *      more tweaks to makefile.vms
  1078.  *
  1079.  * Revision 1.148  1995/03/26  16:59:13  drd
  1080.  * drd : code cleanup in graph3d.c, command.c
  1081.  * brouard@sauvy.ined.fr : contour levels fixed when z is logscale
  1082.  *
  1083.  * Revision 1.147  1995/03/26  15:02:08  drd
  1084.  * drd: many, many changes. Second axes. Rewrite of polar mode. every option
  1085.  *      on datafile. splot and fit use datafile module. grid at any/all of
  1086.  *      tics. Auto-set left margin. Clip data at edge of splot. Remove
  1087.  *      need for parametric mode for 3-column data file. border for splot.
  1088.  *      Tics on border. Tics optionally mirrored on opposite border. Allow
  1089.  *      plot ''  to reuse last name. Various small bugfixes.
  1090.  *
  1091.  * Revision 1.146  1995/03/26  13:26:31  drd
  1092.  * drd: trap realloc(NULL,size) bug in vaxcrtl
  1093.  *
  1094.  * Revision 1.145  1995/03/05  12:33:29  alex
  1095.  * AL: suid fixes for linux
  1096.  *
  1097.  * Revision 1.144  1994/12/10  12:06:18  alex
  1098.  * AL: updated configure.in for autoconf 2.x
  1099.  *
  1100.  * Revision 1.143  1994/10/06  14:33:39  alex
  1101.  * Roger Fearick: OS/2 patches for alpha 140
  1102.  *
  1103.  * Revision 1.142  1994/09/29  22:37:56  alex
  1104.  * David J. Liu: read wait string from /dev/console in linux.trm
  1105.  *
  1106.  * Revision 1.141  1994/09/18  16:45:59  alex
  1107.  * David J. Liu: new linux driver, new terminal function set_font (only
  1108.  * Postscript yet), new emx terminal
  1109.  *
  1110.  * Revision 1.140  1994/09/13  23:12:18  alex
  1111.  * AL: updated 00test
  1112.  *
  1113.  * Revision 1.139  1994/09/13  22:24:37  alex
  1114.  * David Denholm: unary +, duplicate symbols in contour.c, plot.h
  1115.  *   makefile.vms fixes, undefined dummy vars in plot command,
  1116.  *   some bugfixes / additions to key
  1117.  *
  1118.  * Revision 1.138  1994/09/13  19:21:06  alex
  1119.  * AL: added -DNO_GIH to vms and Windows makefiles
  1120.  *
  1121.  * Revision 1.137  1994/09/13  18:54:22  alex
  1122.  * Andrew McLean: avoid CFLAGS commandline overflow in makefile.tc
  1123.  *
  1124.  * Revision 1.136  1994/09/13  18:35:02  alex
  1125.  * Carsten Steger: pipe support for Amiga
  1126.  *
  1127.  * Revision 1.135  1994/09/13  18:20:35  alex
  1128.  * AL: avoid integer overflow in constant expressions for 16bit compilers.
  1129.  * Hope I caught all.
  1130.  *
  1131.  * Revision 1.134  1994/09/13  16:14:13  alex
  1132.  * AL: memory functions moved to alloc.c. removed default cases again.
  1133.  *
  1134.  * Revision 1.133  1994/09/03  12:18:05  alex
  1135.  * AL: EOF lockup fix in readline.c
  1136.  *
  1137.  * Revision 1.132  1994/09/03  12:05:00  alex
  1138.  * Carsten Steger: fix for missing tics in polar mode. (Some patch conflicts,
  1139.  * still not working completely)
  1140.  *
  1141.  * Revision 1.131  1994/09/03  10:41:56  alex
  1142.  * AL: strftime rewrite, removed strftime dummy from misc.c, still has to be
  1143.  *     added to buildvms.com and makefile.vms
  1144.  *
  1145.  * Revision 1.130  1994/08/28  15:34:26  alex
  1146.  * AL: changed defines MEMCPY and MEMSET to BCOPY and BZERO, changed all
  1147.  * occurences to bzero to memset.
  1148.  * added default case with warning to all switch statements
  1149.  * removed VFORK code and comments
  1150.  *
  1151.  * Revision 1.129  1994/08/28  12:58:45  alex
  1152.  * AL: reintroduced NOGAMMA flag, gamma in specfun in only used if NOGAMMA is
  1153.  * defined. (Maybe the flag needs to be added to some of the makefiles)
  1154.  *
  1155.  * Revision 1.128  1994/08/28  11:45:30  alex
  1156.  * AL: change check for valid data after strtod call
  1157.  *
  1158.  * Revision 1.127  1994/08/28  11:12:52  alex
  1159.  * David Denholm: using patch
  1160.  *
  1161.  * Revision 1.126  1994/08/27  18:01:05  alex
  1162.  * AL: took out blank line fix again
  1163.  *
  1164.  * Revision 1.125  1994/08/18  16:39:28  alex
  1165.  * AL: accept line with whitespace a separator in data files.
  1166.  *
  1167.  * Revision 1.124  1994/08/18  16:14:40  alex
  1168.  * AL: new mkdist script, autoconf fixes for NeXT, support for GNU readline
  1169.  *
  1170.  * Revision 1.123  1994/08/09  10:03:46  alex
  1171.  * Yehavi Bourvine: space around = in fit.c, matrix.c
  1172.  *
  1173.  * Revision 1.122  1994/08/05  08:57:48  alex
  1174.  * AL: fixes for non-ANSI compilers
  1175.  *
  1176.  * Revision 1.121  1994/07/30  16:37:39  alex
  1177.  * AL: added errorfix.sh
  1178.  *
  1179.  * Revision 1.120  1994/07/30  16:35:39  alex
  1180.  * AL: fixup script for #error directives on brain dead compilers, install.sh
  1181.  * from autoconf
  1182.  *
  1183.  * Revision 1.119  1994/07/27  16:45:38  alex
  1184.  * AL: generate options string that PSLATEX_init understands
  1185.  *
  1186.  * Revision 1.118  1994/07/27  15:34:54  alex
  1187.  * Pieter Vosbeek: new pstex driver
  1188.  *
  1189.  * Revision 1.117  1994/07/27  14:48:48  alex
  1190.  * Vivek Khera: update for pslatex driver
  1191.  *
  1192.  * Revision 1.116  1994/07/27  14:28:33  alex
  1193.  * David Denholm: pad struct coordinate to 32 bytes
  1194.  *
  1195.  * Revision 1.115  1994/07/24  15:54:17  alex
  1196.  * Martin P.J. Zinser: move VMS status definition inside main to avoid double
  1197.  * definition on APX
  1198.  *
  1199.  * Revision 1.114  1994/07/24  15:39:08  alex
  1200.  * Brian McKeever, David Denholm, AL: added comment about distinguishing
  1201.  * VAX and Alpha in buildvms.com
  1202.  *
  1203.  * Revision 1.113  1994/07/24  15:28:47  alex
  1204.  * Richard Mathar: chance makefile.unx comment about Convex 10.1, use -O1 for
  1205.  * convex_x11.
  1206.  *
  1207.  * Revision 1.112  1994/07/23  15:28:07  alex
  1208.  * David Denholm: recognise X11 flags is uppercase also
  1209.  *
  1210.  * Revision 1.111  1994/06/26  15:58:44  alex
  1211.  * David Denholm: check that pointsize is >0
  1212.  *
  1213.  * Revision 1.110  1994/06/26  15:50:20  alex
  1214.  * David Denholm: variable pointsize, some bug fixes
  1215.  * AL: add pointsize to next.trm+gnuplot.doc
  1216.  *
  1217.  * Revision 1.109  1994/06/25  13:23:27  alex
  1218.  * Carsten Steger: Amiga fixes
  1219.  *
  1220.  * Revision 1.108  1994/06/25  13:16:25  alex
  1221.  * Carsten Steger: HPUX fixes
  1222.  *
  1223.  * Revision 1.107  1994/06/25  12:52:36  alex
  1224.  * Matt Heffron: more point symbols for enhpost.trm
  1225.  *
  1226.  * Revision 1.106  1994/06/25  12:44:13  alex
  1227.  * AL: install lasergnu from sourcedir in Makefile.in
  1228.  * Alexander Woo,Hans Olav Eggestad: fixed for graphics.c
  1229.  * added timedat.dem to all.dem
  1230.  *
  1231.  * Revision 1.105  1994/06/25  11:44:51  alex
  1232.  * AL: configure created with new autoconf 1.11
  1233.  *
  1234.  * Revision 1.104  1994/05/02  22:26:02  alex
  1235.  * AL: added substitute function strerror, cast qsort function to right type
  1236.  * removed warning about return type in tek.trm
  1237.  *
  1238.  * Revision 1.103  1994/05/01  16:12:49  alex
  1239.  * Daniel S. Lewart: AIX makefile fixes
  1240.  *
  1241.  * Revision 1.102  1994/05/01  16:04:40  alex
  1242.  * David Denholm: vms fixes in buildvms and makefile.vms
  1243.  *
  1244.  * Revision 1.101  1994/05/01  15:36:50  alex
  1245.  * Alex Woo: fixes for timedat, Borland C, OSF
  1246.  *
  1247.  * Revision 1.100  1994/05/01  15:23:11  alex
  1248.  * Yehavi Bourvine: fixes for vms
  1249.  *
  1250.  * Revision 1.99  1994/04/30  16:09:21  alex
  1251.  * Olaf Flebbe: use doubles for reading data files, print error message when %f
  1252.  * is used
  1253.  *
  1254.  * Revision 1.98  1994/04/30  15:35:20  alex
  1255.  * AL: signal function type, added GPL to end of configure.in
  1256.  *
  1257.  * Revision 1.97  1994/04/29  10:43:31  alex
  1258.  * AL: cleaned up signal calls, removed obsolete next_31 makefile target,
  1259.  *     removed autoconf call from Makefile.in, check for signal type in
  1260.  *     configure
  1261.  *
  1262.  * Revision 1.96  1994/04/26  12:54:54  alex
  1263.  * Carsten Grammes: removed single character input and variable function
  1264.  * arguments from fit.c, moved fit demofiles to ./demo, updated version message
  1265.  * AL: removed obsolete test for variable arguments from configure, wasn't
  1266.  * working anyway
  1267.  *
  1268.  * Revision 1.95  1994/04/26  11:34:01  alex
  1269.  * Raymond Toy: Update for PSTricks terminal
  1270.  *
  1271.  * Revision 1.94  1994/04/26  11:14:03  alex
  1272.  * Jay I Choe: different line styles for tek40xx, typo in draw_clip_line in
  1273.  * graph3d.c
  1274.  *
  1275.  * Revision 1.93  1994/04/26  11:01:11  alex
  1276.  * AL: removed call to malloc_debug, configure with autoconf 1.9
  1277.  *
  1278.  * Revision 1.92  1994/04/06  08:52:20  alex
  1279.  * AL: moved cd and pwd commands out of command(), setdrive fix for MSC
  1280.  * removed extern declarations from term/*, updated 00test
  1281.  *
  1282.  * Revision 1.91  1994/04/05  17:32:14  alex
  1283.  * AL: moved stdio.h and setjmp.h to stdfn, env now declared in plot.h
  1284.  *
  1285.  * Revision 1.90  1994/04/05  16:19:10  alex
  1286.  * Matt Heffron: enhanced postscript driver, if and call command
  1287.  *
  1288.  * Revision 1.89  1994/04/01  15:46:52  alex
  1289.  * AL: changed variable argument lists to use either stdarg or varargs
  1290.  *     added checks to configure
  1291.  *
  1292.  * Revision 1.88  1994/04/01  00:12:38  alex
  1293.  * Carsten Steger: fix for draw_clip_line when more than two intersections are
  1294.  * found
  1295.  *
  1296.  * Revision 1.87  1994/04/01  00:07:27  alex
  1297.  * Carsten Steger: changes for hpux 9.0
  1298.  *
  1299.  * Revision 1.86  1994/03/31  23:09:54  alex
  1300.  * AL: renamed stringfn.h to stdfn.h, moved stdlib, sys/types, errno, time
  1301.  * to stdfn.h, added checks for headers to configure, removed declarations for
  1302.  * stdlib, time and math functions
  1303.  *
  1304.  * Revision 1.85  1994/03/30  16:19:41  alex
  1305.  * David Denholm: changes for openvms/axp
  1306.  * AL: moved some global variable declarations to plot.h
  1307.  *
  1308.  * Revision 1.84  1994/03/30  02:04:46  alex
  1309.  * Alexander Woo: makefile changes for solaris and osf, minor tics are off
  1310.  * by default
  1311.  *
  1312.  * Revision 1.83  1994/03/30  01:40:10  alex
  1313.  * Roger Fearick: os2 fixes for term/pm.trm
  1314.  *
  1315.  * Revision 1.82  1994/03/30  01:27:58  alex
  1316.  * Carsten Steger: amiga fixes, new reset command,
  1317.  *                 docs/*.c now includes "ansichek.h"
  1318.  * AL: removed -Idocs from all makefiles
  1319.  *
  1320.  * Revision 1.81  1994/03/30  00:57:23  alex
  1321.  * Olaf Flebbe: check for string.h and strchr in configure
  1322.  *
  1323.  * Revision 1.80  1994/03/30  00:35:50  alex
  1324.  * Olaf Flebbe: print up to 15 digits in print command
  1325.  *
  1326.  * Revision 1.79  1994/03/29  22:49:47  alex
  1327.  * AL: changed action tables to dynamic size, read_line fix
  1328.  *
  1329.  * Revision 1.78  1994/03/29  19:10:32  alex
  1330.  * AL: changed token table to dynamic size
  1331.  *
  1332.  * Revision 1.77  1994/03/29  16:33:15  alex
  1333.  * AL: removed useless replot_line_len and extend_input_line
  1334.  *
  1335.  * Revision 1.76  1994/03/29  16:26:17  alex
  1336.  * AL: changed replot_line to dynamic length
  1337.  *
  1338.  * Revision 1.75  1994/03/29  13:36:54  alex
  1339.  * AL: readline with variable line length
  1340.  *
  1341.  * Revision 1.74  1994/03/23  17:36:03  alex
  1342.  * Robert Cunningham: draw 3d impulses from 0 plane and not from base
  1343.  * Raymond Toy,AL: find X if includes and libs are in the standard directories
  1344.  *
  1345.  * Revision 1.73  1994/03/22  14:26:23  alex
  1346.  * Yehavi Bourvine: changes for gnufit with vms
  1347.  * AL: removed NOGAMMA define since it is no longer needed
  1348.  *
  1349.  * Revision 1.72  1994/03/22  13:40:16  alex
  1350.  * Olaf Flebbe: gnufit changes to Makefile.in, autoconf code to detect strnicmp
  1351.  * and strcasecmp
  1352.  * AL: added -DSTRNICMP to Borland and MS makefiles, working strnicmp function
  1353.  * autoconf code to detect termios and tcgetattr on NeXT
  1354.  *
  1355.  * Revision 1.71  1994/03/22  02:15:17  alex
  1356.  * AL: sgtty version of kbhit and getch in fit.c. TERMIOS_FIT now called TERMIOS
  1357.  * (as in readline), NeXT uses termios in readline also. new targets for old
  1358.  * (i.e. <=3.1) versions of NeXTstep
  1359.  *
  1360.  * Revision 1.70  1994/03/21  17:29:03  alex
  1361.  * AL: merged DOS version of read_line into generic one. vms still missing.
  1362.  *
  1363.  * Revision 1.69  1994/03/20  14:57:04  alex
  1364.  * AL: changed interactive and file input to dynamic line len. dos and vms not
  1365.  * yet.
  1366.  *
  1367.  * Revision 1.68  1994/03/19  14:28:48  alex
  1368.  * AL: added buffer size parameter to copy_str, quote_str and capture, removed
  1369.  * quotel_str
  1370.  *
  1371.  * Revision 1.67  1994/03/18  23:08:27  alex
  1372.  * AL: removed extern declarations without prototypes
  1373.  *
  1374.  * Revision 1.66  1994/03/18  22:42:01  alex
  1375.  * AL: removed most(?) extern function declarations without prototypes
  1376.  *
  1377.  * Revision 1.65  1994/03/18  21:06:03  alex
  1378.  * Carsten Gammes: fix for prototype for solve_tri_diag
  1379.  * David Denholm, AL: fix for 0.0**1.0 and arg(0)
  1380.  * Olaf Flebbe, AL: use signed int in dumb term, add nl after dumping plot
  1381.  * AL: removed printf warnings from hpgl.trm and regis.trm
  1382.  *
  1383.  * Revision 1.64  1994/03/18  16:23:24  alex
  1384.  * AL: removed ANSI prototypes in fit.c, kbhit and getch static
  1385.  *
  1386.  * Revision 1.63  1994/03/17  10:44:20  alex
  1387.  * AL: updated 00test
  1388.  *
  1389.  * Revision 1.62  1994/03/17  00:54:13  alex
  1390.  * AL: deANSIfied the gnufit functions, added readme.1st as README.fit
  1391.  *
  1392.  * Revision 1.61  1994/03/17  00:04:28  alex
  1393.  * Carsten Grammes: gnufit 1.2, new files fit.c, fit.h, matrix.c, matrix.h,
  1394.  * type.h, fitdemo directory
  1395.  *
  1396.  * Revision 1.60  1994/03/14  17:28:50  alex
  1397.  * AL: new file stringfn.h to include string.h or strings.h, removed all
  1398.  * external declarations for str??? functions
  1399.  *
  1400.  * Revision 1.59  1994/03/14  14:44:41  alex
  1401.  * AL: changed all functions with char arguments to ANSI style, changed more
  1402.  * index calls, removed warning about HUGE redefinition on NeXT
  1403.  *
  1404.  * Revision 1.58  1994/03/13  16:46:49  alex
  1405.  * Wolfram Gloger: include ansichek after system includes, don't redefine
  1406.  * __P if defined in linux
  1407.  *
  1408.  * Revision 1.57  1994/03/13  16:32:50  alex
  1409.  * Yehavi Bourvine: changes for vms
  1410.  *
  1411.  * Revision 1.56  1994/03/13  16:10:55  alex
  1412.  * Alex Woo: changes for SGI IRIX
  1413.  *
  1414.  * Revision 1.55  1994/03/13  16:01:52  alex
  1415.  * Ton van Overbeek: changes for PureC
  1416.  * AL: changed all uses of index and rindex to strchr and strrchr
  1417.  *
  1418.  * Revision 1.54  1994/03/13  15:32:57  alex
  1419.  * AL: some prototype fixes to compile on PCs
  1420.  *
  1421.  * Revision 1.53  1994/03/13  15:27:51  alex
  1422.  * John Interrante: better cleanup in Makefile.in, also draw horizontal grid
  1423.  * lines, don't print terminal number
  1424.  * AL: rename docs/makefile and docs/latextut/makefile in configure
  1425.  *
  1426.  * Revision 1.52  1994/03/13  14:57:57  alex
  1427.  * Carsten Steger: revised amiga makefile, some more prototypes, removed
  1428.  * unused variables, fix for ytick==0.0
  1429.  *
  1430.  * Revision 1.51  1994/03/13  14:28:14  alex
  1431.  * Olaf Flebbe: search for lgamma in libm
  1432.  *
  1433.  * Revision 1.50  1994/03/03  14:07:40  alex
  1434.  * AL: removed some ANSI-style functions, # always in first column
  1435.  *
  1436.  * Revision 1.49  1994/03/02  00:13:15  alex
  1437.  * AL: added 00test README file
  1438.  *
  1439.  * Revision 1.48  1994/02/25  16:38:09  alex
  1440.  * AL: added prototypes to files in docs. Added -Idocs to all makefiles that
  1441.  * don't (cd docs; make something)
  1442.  *
  1443.  * Revision 1.47  1994/02/25  15:14:05  alex
  1444.  * AL: added ANSI prototypes for all files . and term, new files protos.h,
  1445.  * fnproto.h, binary.h, ansichek.h
  1446.  *
  1447.  * Revision 1.46  1994/01/29  16:27:49  alex
  1448.  * HO Eggestad's timeseries mods
  1449.  *
  1450.  * Revision 1.45  1994/01/27  23:15:21  alex
  1451.  * AL: Atari ST MultiAES mods, Projects file
  1452.  *
  1453.  * Revision 1.44  1994/01/07  13:53:29  alex
  1454.  * AL: changed version numbers to 3.5
  1455.  *
  1456.  * Revision 1.43  1994/01/03  16:49:28  alex
  1457.  * Olaf Flebbe: use DBL_MAX for VERYLARGE on sgi, since HUGE==FLT_MAX
  1458.  *
  1459.  * Revision 1.42  1994/01/03  16:43:28  alex
  1460.  * AL,Paul Mitchell: change X11 settings for sgi, pass INSTALL to docs/makefile
  1461.  *
  1462.  * Revision 1.41  1994/01/03  16:14:09  alex
  1463.  * AL: don't put `point' into LaTeX options string
  1464.  *
  1465.  * Revision 1.40  1994/01/03  16:03:38  alex
  1466.  * AL: memory efficient checkin procedure. Boy, I hate DOS.
  1467.  *
  1468.  * Revision 1.39  1994/01/03  15:49:45  alex
  1469.  * AL: new script nuke, -a option for all
  1470.  *
  1471.  * Revision 1.38  1994/01/03  02:24:51  alex
  1472.  * AL: #if'ed out obsolete vfork shell function
  1473.  *
  1474.  * Revision 1.37  1994/01/02  14:54:34  alex
  1475.  * David Ciemiewicz: don't redefine VREPRINT
  1476.  *
  1477.  * Revision 1.36  1994/01/02  14:49:29  alex
  1478.  * Olaf Flebbe: give specific message when too many tokens
  1479.  *
  1480.  * Revision 1.35  1994/01/02  14:35:04  alex
  1481.  * Olaf Flebbe: add sony_news to #ifdef for sys/types.h
  1482.  *
  1483.  * Revision 1.34  1994/01/02  14:30:05  alex
  1484.  * Timothy L D Collins: mention solaris as possible machine type in makefile.unx
  1485.  *
  1486.  * Revision 1.33  1994/01/02  14:20:35  alex
  1487.  * AL: use read/write string for sscanf in gnuplot_x11
  1488.  *
  1489.  * Revision 1.32  1994/01/02  13:47:41  alex
  1490.  * Marc van Woerkom,AL: check for undefined DISPLAY env var
  1491.  *
  1492.  * Revision 1.31  1994/01/02  13:42:06  alex
  1493.  * Phil Garner: check OSF1 instead of __alpha for signal return type
  1494.  * AL: abort option in civers
  1495.  *
  1496.  * Revision 1.30  1994/01/02  13:28:56  alex
  1497.  * AL: merged bigfig in fig, new civers, all, files
  1498.  *
  1499.  * Revision 1.29  1993/12/30  21:58:52  alex
  1500.  * Alex Woo: data/command mix mod
  1501.  *
  1502.  * Revision 1.29  1993/12/30  21:58:52  alex
  1503.  * Alex Woo: data/command mix mod
  1504.  *
  1505.  * Revision 1.28  1993/10/15  00:11:29  alex
  1506.  * Radey Shouman: parametric notitle bug
  1507.  *
  1508.  * Revision 1.27  1993/10/14  20:10:53  alex
  1509.  * David Kotz: MailFTP via Dartmouth server in 0README
  1510.  *
  1511.  * Revision 1.26  1993/10/08  17:20:30  alex
  1512.  * Alexander Woo: user selected borders and tic marks, seems to conflict with
  1513.  * minor tic marks
  1514.  *
  1515.  * Revision 1.25  1993/10/08  17:05:55  alex
  1516.  * Akira Sawada: call XSetWindowBackgroundPixmap after drawing picture
  1517.  *
  1518.  * Revision 1.24  1993/10/08  16:40:49  alex
  1519.  * AL: new define CHARSET7BIT in readline.c. The readline function now accepts
  1520.  *     extended chars (e.g. latin1, MSDOS codepage etc.)
  1521.  *
  1522.  * Revision 1.23  1993/10/08  16:27:31  alex
  1523.  * Atsushi Mori: logarithmic impulses
  1524.  *
  1525.  * Revision 1.22  1993/10/08  14:46:49  alex
  1526.  * Henri Gavin: row/col fix for dgrid3d
  1527.  *
  1528.  * Revision 1.21  1993/10/08  14:43:31  alex
  1529.  * AL: set pipe signal to ignore
  1530.  *
  1531.  * Revision 1.20  1993/10/08  14:37:53  alex
  1532.  * Dave Shield, AL: fixed comments regarding HELPDEST in makefile.unx
  1533.  *
  1534.  * Revision 1.19  1993/10/08  13:58:51  alex
  1535.  * AL: missing {, tabs in makefile.unx
  1536.  *
  1537.  * Revision 1.18  1993/10/07  19:23:49  alex
  1538.  * Scott D. Heavner: Linux svga driver, new file term/linux.trm
  1539.  *
  1540.  * Revision 1.17  1993/10/07  19:10:58  alex
  1541.  * N.G. Brookins: ReGIS fix
  1542.  *
  1543.  * Revision 1.16  1993/10/07  17:19:49  alex
  1544.  * Vivek Khera: Color option for PSLaTeX driver
  1545.  *
  1546.  * Revision 1.15  1993/10/07  17:14:11  alex
  1547.  * Timothy L D Collins: new hpgl driver hp7550
  1548.  *
  1549.  * Revision 1.14  1993/10/07  16:57:37  alex
  1550.  * Wolfram Gloger: Sloppy mem management fix, LINUX_FLAGS in makefile.unx
  1551.  *
  1552.  * Revision 1.13  1993/10/07  16:53:03  alex
  1553.  * Carsten Steger: demo fixes
  1554.  *
  1555.  * Revision 1.12  1993/10/07  15:01:55  alex
  1556.  * Emmanuel Bigler: missing -I in HP_FLAGS
  1557.  *
  1558.  * Revision 1.11  1993/10/07  14:56:17  alex
  1559.  * Bruno PIGUET: missing ()s in term/hpgl.trm PCL_YMAX
  1560.  *
  1561.  * Revision 1.10  1993/10/07  13:24:42  alex
  1562.  * Roland B Roberts, Alex Woo: gcc on VMS
  1563.  *
  1564.  * Revision 1.9  1993/10/07  12:56:53  alex
  1565.  * AL: a couple of .cvsignore file, no for final releases
  1566.  *
  1567.  * Revision 1.8  1993/10/07  12:52:58  alex
  1568.  * Alex Woo: fix a logic error in polar grid plotting, labels every 30 degrees
  1569.  *
  1570.  * Revision 1.7  1993/10/07  11:09:33  alex
  1571.  * Nick Strobel: Documentation for new errorbar styles
  1572.  *
  1573.  * Revision 1.6  1993/10/07  10:21:21  alex
  1574.  * Lars Henke, Nick Strobel: minor ticmarks, new errorbar styles: yerrorbars,
  1575.  * xerrorbars, xyerrorbars, boxxyerrorbars, interpolation: splines, csplines,
  1576.  * sbezier, bezier, errorbars with and without ticks, Amiga cleanup
  1577.  * AL: added interpol.c to all makefiles
  1578.  *
  1579.  * Revision 1.5  1993/10/06  15:51:27  alex
  1580.  * AL: Added Log to version.c, commitvers
  1581.  *     cast in dxf.trm
  1582.  *
  1583.  */
  1584.